package HomeWorkJava;

public class Student {
    //学生的属性
    String Name;
    String Id;
    String Classes;
    String Gender;
    String Age;
    String Character;

    //行为
    public void PrintStudent() {
        System.out.println(Name + "的学号为" + Id + "，" + "班级为" + Classes + "，性别为" + Gender + "，年龄" + Age + "，性格" + Character);
    }
}
